import React from 'react';
import { View, Text, StyleSheet } from 'react-native';

const BookDetail = ({ route }) => {
    const { bookId } = route.params;

    return (
        <View style={styles.container}>
            <Text style={styles.text}>Book Detail Screen</Text>
            <Text style={styles.text}>Book ID: {bookId}</Text>
        </View>
    );
};

const styles = StyleSheet.create({
    container: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: '#f5f5f5',
    },
    text: {
        fontSize: 18,
        marginBottom: 10,
    },
});

export default BookDetail; 